<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    div:nth-child(1){
        width: 100px;
        height: 100px;
        background-color: orange;
        transform: translate(100px, 100px);
    }
    div:nth-child(2){
        width: 100px;
        height: 100px;
        background-color: yellow;
        transform: rotate(-25deg);
        }
        div:nth-child(3){
        width: 100px;
        height: 100px;
        background-color: green;
        transform: rotate(45deg);
        }
    div:nth-child(4){
        width: 100px;
        height: 100px;
        background-color: blue;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        position: absolute;
    }
</style>
<body>
    
    <div></div>
    <div></div>
    <div></div>
    <div></div>
</body>
</html>